package com.yuyou.train.user.service;

import com.yuyou.train.service.api.user.entity.UserDynamic;
import com.yuyou.train.user.vo.resp.RespUserDynamic;
import com.yuyou.train.util.bean.Pagination;
import com.yuyou.train.util.bean.ResBoolSimpleInfo;

import java.util.List;

/**
 * Created by yujin.liu on 2018/3/14.
 */
public interface IUserDynamicService {

    int insert(UserDynamic userDynamic);

    int findUserDynamicPageCount(Pagination<RespUserDynamic> p);

    List<RespUserDynamic> findUserDynamicPage(Pagination<RespUserDynamic> p);
    
    
    ResBoolSimpleInfo<String> addUserDynamic(UserDynamic userDynamic);
}
